package com.aaa.entity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * Table: ums_admin
 */
@Data
public class UmsAdmin implements Serializable {
    /**
     * Table:     ums_admin
     * Column:    id
     * Nullable:  false
     */
    private Long id;

    /**
     * 父账号ID
     *
     * Table:     ums_admin
     * Column:    pid
     * Nullable:  true
     */
    private Long pid;

    /**
     * Table:     ums_admin
     * Column:    username
     * Nullable:  true
     */
    private String username;

    /**
     * Table:     ums_admin
     * Column:    password
     * Nullable:  true
     */
    private String password;

    /**
     * 头像
     *
     * Table:     ums_admin
     * Column:    icon
     * Nullable:  true
     */
    private String icon;

    /**
     * Table:     ums_admin
     * Column:    phone
     * Nullable:  true
     */
    private String phone;

    /**
     * 邮箱
     *
     * Table:     ums_admin
     * Column:    email
     * Nullable:  true
     */
    private String email;

    /**
     * 昵称
     *
     * Table:     ums_admin
     * Column:    nick_name
     * Nullable:  true
     */
    private String nickName;

    /**
     * 备注信息
     *
     * Table:     ums_admin
     * Column:    note
     * Nullable:  true
     */
    private String note;

    /**
     * 创建时间
     *
     * Table:     ums_admin
     * Column:    create_time
     * Nullable:  true
     */
    private Date createTime;

    /**
     * 最后登录时间
     *
     * Table:     ums_admin
     * Column:    login_time
     * Nullable:  true
     */
    private Date loginTime;

    /**
     * 帐号启用状态：0->禁用；1->启用
     *
     * Table:     ums_admin
     * Column:    status
     * Nullable:  true
     */
    private Integer status;

    /**
     * 账号类型：0->管理员，1-> 代理商，2-> 商家管理员
     *
     * Table:     ums_admin
     * Column:    type
     * Nullable:  true
     */
    private String type;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table ums_admin
     *
     * @mbg.generated Mon Jan 06 19:35:03 CST 2020
     */
    private static final long serialVersionUID = 1L;
}